Style Definition for Background panel

Use the Style Definition for Background panel to define background settings for a style. See also Style sheets overview and Editing a style.

To open the Style Definition dialog box, Choose Window > Styles and click Edit Style Sheet. In the dialog box that appears, choose a style and click Edit. Click the panel names on the left side of the dialog box. Leave any of the following attributes empty if they are not important to the style:

Background color sets the background color for the element.

Background image sets the background image for the element.

Repeat determines how and if the background image is repeated, as follows:

No repeat displays the image once at the beginning of the element.
Repeat displays a band of images vertically and horizontally behind the element.
Repeat-x and Repeat-y display a horizontal and vertical band of images, respectively. Images will be clipped to fit within the boundaries of the element.

Attachment determines if the background image is fixed at its original position or if it scrolls along with the content. Note that some browsers may treat the fixed option as scroll. Dreamweaver does not display this attribute in the Document window.

Horizontal Position and Vertical Position specify the initial position of the background image in relation to the element. If the attachment property is fixed, the position is relative to the Document window, not to the element. Dreamweaver does not display this attribute in the Document window.